import Vue from 'vue';
let vm = new Vue();

//成功时的消息提示
export let successMsg  = (message)=>{
    vm.$message({
        message,
        type: "success",
      });
}

//失败时的消息提示
export let faileMsg  = (message)=>{
    vm.$message({
        message,
        type: "warning",
      });
}